Skip to content

Remove CONTRIBUTOR from author_association guard in auto-answer-issues workflow#5845

Merged
trwalke merged 2 commits intotrwalke/addGhActionForIssuesfrom
copilot/sub-pr-5836-please-work
Mar 11, 2026
Merged

Remove CONTRIBUTOR from author_association guard in auto-answer-issues workflow#5845
trwalke merged 2 commits intotrwalke/addGhActionForIssuesfrom
copilot/sub-pr-5836-please-work

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 11, 2026

The auto-answer-issues workflow's if: guard included CONTRIBUTOR, which allows external users who have previously made merged contributions — defeating the intent of restricting the Azure OpenAI-backed responder to internal users only.

Changes proposed in this request

  • Removed github.event.issue.author_association == 'CONTRIBUTOR' from the workflow trigger guard in .github/workflows/auto-answer-issues.yml
  • The workflow now only runs for MEMBER and OWNER and COLLABORATOR associations

Testing
No automated tests applicable for workflow YAML changes.

Performance impact
None.

Documentation

  • All relevant documentation is updated.

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…s workflow

Co-authored-by: trwalke <30090357+trwalke@users.noreply.github.com>
Copilot AI changed the title [WIP] [WIP] Address feedback by removing contributor label in GitHub Actions workflow Remove CONTRIBUTOR from author_association guard in auto-answer-issues workflow Mar 11, 2026
@trwalke trwalke marked this pull request as ready for review March 11, 2026 22:27
@trwalke trwalke requested a review from a team as a code owner March 11, 2026 22:27
@trwalke trwalke merged commit 05212dd into trwalke/addGhActionForIssues Mar 11, 2026
2 checks passed
@trwalke trwalke deleted the copilot/sub-pr-5836-please-work branch March 11, 2026 22:27
bgavrilMS pushed a commit that referenced this pull request Mar 19, 2026
…s workflow (#5845)

* Initial plan

* Remove CONTRIBUTOR from author_association check in auto-answer-issues workflow

Co-authored-by: trwalke <30090357+trwalke@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: trwalke <30090357+trwalke@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants